package com.example.service;

import com.example.entity.Users;
import com.example.entity.Volunteer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VolunteerService {
    List<Volunteer> getAllVolunteer();
    Volunteer getVolunteerByVolunteer_Id(Integer volunteer_id);
    boolean addVolunteer(Volunteer volunteer);
    boolean updateVolunteer(Volunteer volunteer);
    boolean deleteVolunteer(Integer volunteer_id);
    List<Volunteer> searchVolunteer(@Param("name") String name, @Param("sex") String sex);
}
